< previous page page_400 next page >

Page 400
Developing a DHTML Application
A DHTML application is really a Visual Basic application that uses both compiled Visual Basic code and Dynamic HTML to produce an interactive, browser-based application. The DHTML application will reside on the browser machine and respond to the actions of the end user. These applications can be as simple as a single HTML page that uses VB code to respond instantly to the actions that occur on the page. This could involve responding to user actions such as mouse movements and clicks, or even actions that the browser performs, such as opening the page. With a more complicated DHTML application, you could
Retrieve data from the page and use it to access a database
Update the page's appearance and behavior
Create HTML elements and insert them onto a page
The Visual Basic code that you add to a DHTML page will replace the processing that was previously performed by VBScript or CGI processing, and much of it can be done without transferring the process to the server.
Creating the DHTML Application
When you begin a DHTML application, you select the DHTML Application project from the New Project tab. This project is really an ActiveX DLL project that will automatically set the correct references you need to access the DHTML designer for your HTML pages. When the project is created, Visual Basic automatically inserts a designer into the project and displays it on the screen (see Figure 14.14). This corresponds to a single HTML page and acts as the base on which you will create the user interface. If you want to add more HTML pages to the application, you would insert additional designers into your project.

 
< previous page page_400 next page >

If you like this book, buy it!